package org.example.projecttwo.entity.dto.user.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(name = "SwitchUserStatusDTO", description = "切换用户状态DTO")
public class SwitchUserStatusDTO {

    @Schema(description = "用户ID")
    @NotNull(message = "用户ID不能为空")
    private Long id;

    @Schema(description = "状态值 0-启用 1-禁用 2-冻结")
    @NotNull(message = "状态值不能为空")
    private Integer status;
}